package com.cn.springcloudshop.model;

import java.util.List;

/**
 * @Author: wuyanzu
 * @Date: 2018/8/13
 */
public class YmShopCatPOJO {

    /**主键ID*/
    private Long id;

    /**
     * 类目名称
     */
    private String name;

    /**父节点id*/
    private Long parentId;

    /**子菜单列表*/
    private List<YmShopCat> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<YmShopCat> getChildren() {
        return children;
    }

    public void setChildren(List<YmShopCat> children) {
        this.children = children;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
